package com.itheima.stock.exception;

import com.itheima.stock.enums.Code;
import lombok.Data;

/**
 * @文件名: StockException
 * @作者: DX
 * @创建日期: 2025/11/5
 * @描述:
 */
@Data
@SuppressWarnings("all")
public class StockException extends RuntimeException{
    public Code code;

    public StockException(Code code) {
        this.code = code;
    }
}
